define(['../app'], function (app) {
    'use strict';
    return app
        .run(['$http','$templateCache',function( $http, $templateCache) {
            //$http.get("partials/home.html", {cache: $templateCache});
            //$http.get("partials/event.html", {cache: $templateCache});
            //$http.get(url, {}, { cache: $templateCache })
            //angular.forEach($stateProvider.routes, function(r) {
            //    if (r.templateUrl) {
            //        $http.get(r.templateUrl, {cache: $templateCache});
            //    }
            //});
        }])
});